package com.sumer.psychology.space.infrastructure.persistence.mongo.friend;

import com.sumer.psychology.space.domain.FriendMessageType;

/**
 * 朋友拒绝
 */
public class FriendRejectMessageRepository extends MongoFriendMessageRepository {
    @Override
    public void add(String data) {
        add(data, "from", "to", "rejectWords");
    }

    @Override
    protected FriendMessageType friendMessageType() {
        return FriendMessageType.REJECT;
    }
}
